@extends('admin.layout.common')
@section('content')
    <link rel="stylesheet" href="{{url('/css/finance/FinancialAccountingCenter_popup.css')}}">
    <link rel="stylesheet" href="{{asset('/css/app.css')}}">
    <div class="content">
        <h1 class="h1">财务记账中心</h1>
        <!-- 公共结束 -->
        <div class="center_box">
            <table border="1">
                <h1 class="h1 chengben">累计收入：{{$total}}元</h1>
                <tr>
                    <th>收入ID</th>
                    <th>收入月份</th>
                    <th>SP总收入</th>
                    <th>音乐人分账</th>
                    <th>代理分账</th>
                    <th>成本投资</th>
                    <th>实际收入</th>
                </tr>
                @foreach($list as $v)
                    <tr>
                        <td>{{$v['id']}}</td>
                        <td>{{$v['time']}}</td>
                        <td>{{$v['sp_total']}}</td>
                        <td>{{$v['music_total']}}</td>
                        <td>{{$v['agent_total']}}</td>
                        <td>{{$v['cost_total']}}</td>
                        <td>{{$v['finall']}}</td>
                    </tr>
                @endforeach
            </table>
            {{$list->links()}}
        </div>
    </div>
    <script src="{{url('/js/finance/FinancialAccountingCenter.js')}}"></script>
@endsection